package org.oimwrapper.connectors;

/**
 * This represents the three major keys for a resource object instance: 
 * the user's key, the object instance key, and the process instance key.
 */
public class OIMObjectInstanceTriple {

	/**
	 * The user's key.
	 */
	private long userKey;

	/**
	 * The object instance key.
	 */
	private long objectInstanceKey;

	/**
	 * The process instance key.
	 */
	private long processInstanceKey;

	/**
	 * The default constructor.
	 *
	 * @param UserKey The user's key.
	 * @param ObjectInstanceKey The object instance's key.
	 * @param ProcessInstanceKey The process instance's key.
	 */
	public OIMObjectInstanceTriple(long UserKey, long ObjectInstanceKey, long ProcessInstanceKey) {
		userKey = UserKey;
		objectInstanceKey = ObjectInstanceKey;
		processInstanceKey = ProcessInstanceKey;
	}

	/**
	 * Gets the user's key.
	 *
	 * @return The user's key.
	 */
	public long getUserKey() {
		return userKey;
	}

	/**
	 * Gets the object instance's key.
	 *
	 * @return The object instance's key.
	 */
	public long getObjectInstanceKey() {
		return objectInstanceKey;
	}

	/**
	 * Get the process instance's key.
	 *
	 * @return The process instance's key.
	 */
	public long getProcessInstanceKey() {
		return processInstanceKey;
	}
}